package com.web.base.core.message;

import com.blue.core.dict.SeqType;
import com.blue.core.dict.State;

import java.io.Serializable;
import java.util.Date;

/**
 * 序列响应内容
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2018年06月19日
 */
public class SequenceResponse implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	private Integer id; // 序列编号
	private String code; // 序列标识
	private String name; // 序列名称
	private String prefix; // 序列前缀
	private String suffix; // 序列后缀
	private Integer val; // 序列值
	private Integer length; // 序列长度
	private Date date; // 序列日期
	private String descp; // 类型描述
	private SeqType type; // 序列类型：1普通，2日期相关
	private State state; // 类型状态：0正常，1作废
	
	public SequenceResponse()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public String getCode()
	{
		return this.code;
	}
	
	public void setCode(String code)
	{
		this.code = code;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getPrefix()
	{
		return this.prefix;
	}
	
	public void setPrefix(String prefix)
	{
		this.prefix = prefix;
	}
	
	public String getSuffix()
	{
		return this.suffix;
	}
	
	public void setSuffix(String suffix)
	{
		this.suffix = suffix;
	}
	
	public Integer getVal()
	{
		return this.val;
	}
	
	public void setVal(Integer val)
	{
		this.val = val;
	}
	
	public Integer getLength()
	{
		return this.length;
	}
	
	public void setLength(Integer length)
	{
		this.length = length;
	}
	
	public Date getDate()
	{
		return this.date;
	}
	
	public void setDate(Date date)
	{
		this.date = date;
	}
	
	public String getDescp()
	{
		return this.descp;
	}
	
	public void setDescp(String descp)
	{
		this.descp = descp;
	}

	public SeqType getType()
	{
		return type;
	}

	public void setType(SeqType type)
	{
		this.type = type;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}
}
